<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        @keyframes move{
            /* 
                注意：
                    - 百分比一定要是整数
                    - 百分比是总时间的划分
            */
            0%{
                transform: translate(0,0);
            }

            25%{
                transform: translateX(1300px);
            }

            50%{
                transform: translate(1300px,500px);
            }

            75%{
                transform: translate(0,500px);
            }

            100%{
                transform: translate(0,0);
            }
        }

        div{
            width: 200px;
            height: 200px;
            background-color: pink;

            animation-name: move;
            animation-duration: 8s;
        }
    </style>
</head>
<body>
    <div>

    </div>
</body>
</html>